package day0520;

public class Test2 {
    public static void main(String[] args) {
        int i=1000;
        while(i<=2025){
            if(i%400==0 ||  (i%4==0 && i%100!=0)){
                System.out.println(i+ "年，是闰年");
            }
            i++;
        }


        int j=400;  //399-----10000
        while(j<=10000){
            System.out.println(j);
            j= j+400;
        }


    }
}
